public class Test {
    public static void main(String[] args){
        MyQueue myQueue = new MyQueue();
        myQueue.offer(10);
        myQueue.offer(11);
        myQueue.offer(12);
        myQueue.offer(13);
        myQueue.offer(14);

        myQueue.poll();
        System.out.println(myQueue.isEmpty());
    }
}
